home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / GraphicViewers / ViewGif2 / Source / ActivateMenu.h next >
Text File  |  1990-03-21  |  1KB  |  48 lines

  1. /*****************************************************************************/
  2. /* ActivateMenu.h                                 */
  3. /* interface file of ActivateMenu class of ViewGif2 application             */
  4. /* January 1990  Carl F. Sutter                             */
  5. /*****************************************************************************/
  6.  
  7. #import <objc/Object.h>
  8. #import <appkit/Menu.h>
  9. #import <appkit/Window.h>
  10. #import <objc/List.h>
  11. #import "Animator.h"
  12.  
  13. @interface ActivateMenu:Object
  14.    {
  15.    // outlets
  16.    id        slideshowPanel;            // connect to slideshow panel
  17.    id        period;                // connect to Form for timing
  18.    
  19.    // internal instance variables
  20.    Menu     *activateMenu;            // activate menu
  21.    List        *winList;            // list of window handles
  22.    Animator    *timer;                // Instance of Animator object
  23.    int        nCurrentWindow;            // current window # in slide show
  24.    }
  25.  
  26. // factory method
  27. + new;
  28.  
  29. // outlet initialization methods
  30. - setSlideshowPanel:anObject;
  31. - setPeriod:anObject;
  32.  
  33. // close message maybe sent from document windows
  34. - windowWillClose:(Window *)winRemove;
  35.  
  36. // actions
  37. - addDocument:(Window *)winAdd;
  38. - removeDocument:(Window *)winRemove;
  39. - start_stop:sender;
  40. - show:sender;
  41.  
  42. // internal methods
  43. - (BOOL)findActivateMenu;
  44. - activateDocument:sender;
  45. - nextSlide:sender;
  46.  
  47. @end
  48.